home *** CD-ROM | disk | FTP | other *** search
- /* ***** BEGIN LICENSE BLOCK *****
- *
- * Pearltrees add-on AMO, Copyright(C), 2009, Broceliand SAS, Paris, France
- * (company in charge of developing Pearltrees)
- *
- * This file is part of ΓÇ£Pearltrees add-on AMOΓÇ¥.
- *
- * Pearltrees add-on AMO is free software: you can redistribute it and/or modify it under the
- * terms of the GNU General Public License version 3 as published by the Free Software Foundation.
- *
- * Pearltrees add-on AMO is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along with Pearltrees add-on AMO.
- * If not, see <http://www.gnu.org/licenses/>
- *
- * ***** END LICENSE BLOCK ***** */
-
- // ///////////////////////////////////////////////////////////////////////////////
- // Home button controller
- // ///////////////////////////////////////////////////////////////////////////////
-
- var BRO_homeButtonController = {
-
- onClickHomeButton : function(event) {
- BRO_toolbar.onUseToolbar();
- BRO_toolbar.reveal();
- },
-
- onClickCreateAccount:function(event) {
- BRO_toolbar.openCreateAccountPage();
- },
-
- onClickLogin:function(event) {
- BRO_toolbar.openLoginPage();
- }
- }